package com.cr.business.service;

import com.aliyuncs.exceptions.ClientException;

public interface SmsService {

    /**
     * 发送短信验证码
     * @param phone 手机号
     * @param code 验证码
     * @param time 验证码有效时间
     */
    boolean sendSms(String phone, String code, int time) throws ClientException;

}
